package com.changgou.config.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @ Author     ：Bing
 * @ Date       ：Created in 16:13 2020/3/4
 * @ Description：字典类型表
 * @Version: 1.0$
 */
@ApiModel("字典类型表")
@Data
@NoArgsConstructor
@Table(name = "sys_dict_type")
public class DictType {

    @Id
    @ApiModelProperty(name="字典类型主键")
    @Column(name = "dict_id")
    private Integer dictId;

    @ApiModelProperty(name = "字典名称")
    @Column(name = "dict_name")
    private String dictName;

    @ApiModelProperty(name="字典类型")
    @Column(name = "dict_type")
    private String dictType;

    @ApiModelProperty(name = "状态 0正常 1停用")
    @Column(name = "status")
    private String status;

    @ApiModelProperty(name = "创建者")
    @Column(name = "create_by")
    private String createBy;

    @ApiModelProperty(name = "创建时间")
    @Column(name = "create_time")
    private Date createTime;

    @ApiModelProperty(name = "更新者")
    @Column(name = "update_by")
    private String updateBy;

    @ApiModelProperty(name = "更新时间")
    @Column(name = "update_time")
    private Date updateTime;

    @ApiModelProperty(name = "备注")
    @Column(name = "remark")
    private String remark;


}
